package Demo24;

import java.util.*;

public class Demo2 {

    public static void main(String[] args) {
        System.out.println("请输入一个华氏温度：");
        Scanner sc = new Scanner (System.in);
        float a = sc.nextFloat();
        float b;
        b = (a-32) * 5 / 9;
        System.out.println(b);
    }
}